<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>02-ES6 复习</title>
</head>
<body>
  <script>
    function max(...rest){
      console.log(arguments)
      console.log(console.log(rest))
    }
    max(1, 3, 5)
  </script>
</body>
</html>